<%- include('../../public/header.html')%>
<div>增加分类</div>
<form action="/admin/articleCate/doadd" method="post">
    <ul>
        <li>
            <span>分类名称</span>
            <input type="text" name="title">
        </li>
        <li>
            <span>上级分类</span>
            <select name="pid">
                <option value="0">顶级分类</option>
                <%for(var i =0;i<topCateList.length; i++){%>
                    <option value="<%=topCateList[i]._id%>"><%=topCateList[i].title%></option>
                <%}%>
            </select>
        </li>
        <li>
            <span>跳转地址</span>
            <input type="text" name="link">
        </li>
        <li>
            <span>seo标题</span>
            <input type="text" name="sub_title">
        </li>
        <li>
            <span>seo关键词</span>
            <input type="text" name="keywords">
        </li>
        <li>
            <span>seo描述</span>
            <textarea name="description" id="" cols="30" rows="10"></textarea>
        </li>
        <li>
            <span>排序</span>
            <input type="text" name="sort">
        </li>
        <li>
            <span>状态</span>
            <label for="x">显示</label>>
            <input type="radio" id="x" name="status" value="1">
            <label for="nx">隐藏</label>>
            <input type="radio" id="nx" name="status" value="0">
        </li>
        <li>
            <button type="submit">提交</button>
        </li>
    </ul>
</form>
</body>
</html>